﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Windows.Forms;

namespace RSSReader
{
    static class Program
    {
        /// <summary>
        /// Appication Main 진입점
        /// </summary>
        [STAThread]
        static void Main()
        {
            bool createdNew;
            Mutex dup = new Mutex(true, "Mu", out createdNew);

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            if (createdNew)
            {
                Application.Run(new RSSReader());
                dup.ReleaseMutex();
            }
            else
            {
                MessageBox.Show("이미 프로그램이 실행중입니다.");
            }
        }
    }
}
